package com.backend.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@Data
public class EmailProperties {
    @Value("${email.user}")
    public String user;
    @Value("${email.code}")
    public String code;
    @Value("${email.host}")
    public String host;
    @Value("${email.auth}")
    public boolean auth;
    @Value("${email.port}")
    public int port;
    @Value("${email.smtp.ssl.enable}")
    public boolean smtpSslEnable;
}
